<?php
/* @var $this LocationController */
/* @var $model Location */
/* @var $form CActiveForm */
?>
<?php 

$mainImage=$location->mainImage;
?>
<a href="<?php echo Yii::app()->request->baseUrl.'/location/view/name/'.$location->name.'/id/'.$location->id;?>" class="legendePremium">  
<?php

echo CHtml::image($mainImage->getImagePath("210x70"),$mainImage->title,array('class'=>'premium','width'=>'210',
'height'=>'70',));?>
<br>
<?php echo CHtml::encode(Yii::t($location->keyCategory(), $location->keyName()));
echo "(".$location->idDepartment->code.")";
?>
<img
	src="<?php echo Yii::app()->request->baseUrl; ?>/images/icon-search.png"
	alt="" width="14" height="14" border="0" align="absmiddle">
</a>